/**
 * 
 */
package com.vision.sales.cm.serv.rpc;

import java.util.List;

import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.sencha.gxt.data.shared.loader.PagingLoadResult;
import com.vision.core.cm.exception.RpcException;
import com.vision.core.cm.serv.rpc.AbstractService;
import com.vision.sales.cl.ui.component.TransactionLoadConfig;
import com.vision.sales.cm.db.data.DeliveryReceipt;

/**
 * @author Mark
 *
 */
@RemoteServiceRelativePath("delivery_receipts")
public interface DeliveryReceiptService extends AbstractService<DeliveryReceipt> {
	
	PagingLoadResult<DeliveryReceipt> getList(TransactionLoadConfig config) throws RpcException;
	
	List<DeliveryReceipt> voidReceipts(List<DeliveryReceipt> receipts) throws RpcException;
	
}
